FROM adoptopenjdk/openjdk8:latest
ADD target/web-test-0.0.1.jar /app/web-test-0.0.1.jar
WORKDIR /app
#RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
#    echo 'Asia/Shanghai' >/etc/timezone
ENTRYPOINT ["java","-jar","web-test-0.0.1.jar"]
#CMD ["java","-jar","app.jar"]
